package sms.ui;

import sms.ui.chengji.ChengJiTianJia;
import sms.ui.chengji.ChengjiDelete;
import sms.ui.chengji.ChengjiFind;
import sms.ui.chengji.ChengjiUpdate;
import sms.ui.kecheng.KeChengFind;

import java.util.Scanner;

public class ChengJiGuanLi {
    public static void show() {
        Scanner sc = new Scanner(System.in);
        System.out.println("******************成绩管理***********************");
        System.out.println("请输入要操作的项目");
        System.out.println("1  添加成绩  2 删除成绩 3 修改成绩 4 查询成绩 5 退出");
        int code = sc.nextInt();
        switch (code) {
            case 1:
                ChengJiTianJia.show();
                break;
            case 2:
                ChengjiDelete.show();
                break;
            case 3:
                ChengjiUpdate.show();
                break;
            case 4:
                ChengjiFind.show();
                break;
            case 5:
                ZhuYe.show();
                break;
        }
    }
}
